Guest User

FRS

a guest
Jun 17th, 2015
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.61 KB | None | 0 0
  1. <?php /* Template Name: Homepage Template */ ?>
  2. <?php get_header(); ?>
  3. <div id="outerbanner">
  4.     <div class="container">
  5.         <div class="row">
  6.             <!-- Appointment Section Start-->
  7.             <div class="col-md-3">
  8.                 <div class="widget cs_widget_book_appointment">
  9.                     <!-- Appointment Section Start-->
  10.                     <div id="cs-appointment">
  11. <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Appointment')): ?>
  12.                          Please add some widgets here. <?php endif; ?>
  13.                     </div>
  14.                     <!-- Appointment Section Close-->
  15.                 </div>
  16.             </div>
  17.             <div class="col-md-9">
  18.                 <div id="banner">
  19.                     <?php echo do_shortcode('[pjc_slideshow slide_type="homepage"]'); ?>
  20.                 </div>
  21.             </div>
  22.         </div>
  23.     </div>
  24. </div>
  25. <div id="main">
  26.     <div class="container">
  27.         <div class="row">
  28.             <div class="col-md-12 ">
  29.                 <div class="row">
  30.                     <div class="element_size_100 our-serviceswrap">
  31.                         <!-- Our Classes -->
  32.                         <div class="cs-cycle-controls">
  33.                             <span id="cycle-prev" class="btnprev"></span><span id="cycle-next" class="btnnext"></span>
  34.                         </div>
  35.                         <div class="team-shortcode teamcarousel">
  36.                             <div class="cycle-slideshow" data-cycle-timeout="0" data-cycle-fx="carousel" data-cycle-slides="article" data-cycle-carousel-fluid="false" data-allow-wrap="true" data-cycle-next="#cycle-next" data-cycle-prev="#cycle-prev" style="position: relative; overflow: hidden;">
  37.                                 <div class="cycle-carousel-wrap" style="position: absolute; white-space: nowrap;">
  38.                                     <div class="our-services services-grid">
  39. <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Services')): ?>
  40.                                          Please add some widgets here. <?php endif; ?>
  41.                                     </div>
  42.                                 </div>
  43.                             </div>
  44.                         </div>
  45.                         <!-- Our Classes Close -->
  46.                     </div>
  47.                 </div>
  48. <?php if (have_posts()) : ?>
  49. <?php while (have_posts()) : the_post(); ?>
  50.                 <div class="cs-productbanner home-content">
  51.                     <h1><?php the_title(); ?>
  52.                     </h1>
  53. <?php the_content(', '); ?>
  54.                 </div>
  55. <?php endwhile; ?>
  56. <?php else : ?>
  57. <?php endif; ?>
  58.                 <!-- Qoute Start -->
  59.                 <div class="row">
  60.                     <div class="element_size_100">
  61.                         <header class="cs-heading-title">
  62.                         <h2 class="cs-section-title cs-colr-alt">Meet Our Doctors</h2>
  63.                         <div class="cs-cycle-controls">
  64.                             <a href="http://www.moc-uae.com/meet-our-doctors/" class="btnviewall">View All</a><span id="cycle-prev6" class="btnprev"></span><span id="cycle-next6" class="btnnext"></span>
  65.                         </div>
  66.                         </header>
  67.                         <div class="team-shortcode teamcarousel">
  68.                             <div class="cycle-slideshow" data-cycle-timeout="0" data-cycle-fx="carousel" data-cycle-slides="article" data-cycle-carousel-fluid="false" data-allow-wrap="true" data-cycle-next="#cycle-next6" data-cycle-prev="#cycle-prev6" style="position: relative; overflow: hidden;">
  69.                                 <div class="cycle-carousel-wrap" style="position: absolute; white-space: nowrap;">
  70. <?php global $post;                                 $args = array( 'category' =>
  71.                                      2, 'post_type' => 'doctors', 'posts_per_page' => '50' ); $myposts = get_posts( $args ); foreach( $myposts as $post ) : setup_postdata($post); ?> <article class="cycle-slide slide-extra"><a href="<?php the_permalink(); ?>"><figure><?php echo get_the_post_thumbnail( $page->
  72.                                     ID, 'full' ); ?> </figure>
  73.                                     <div class="text" style="float:none !important;">
  74.                                         <h2><?php the_title(); ?>
  75.                                         </h2>
  76. <?php the_excerpt(); ?>
  77.                                     </div>
  78.                                     </a></article><?php endforeach; ?>
  79.                                 </div>
  80.                             </div>
  81.                         </div>
  82.                     </div>
  83.                 </div>
  84.             </div>
  85.         </div>
  86.         <!-- Row End -->
  87.     </div>
  88. </div>
  89. <!-- Content Section End -->
  90. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment